/*  1:   */ package org.jetbrains.jps.model.artifact.impl.elements;
/*  2:   */ 
/*  3:   */

import com.intellij.openapi.util.Comparing;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.jps.model.artifact.elements.JpsPackagingElement;
import org.jetbrains.jps.model.ex.JpsElementBase;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */ 
/*  8:   */ public abstract class JpsFileCopyPackagingElementBase<Self extends JpsFileCopyPackagingElementBase<Self>>
/*  9:   */   extends JpsElementBase<Self>
/* 10:   */   implements JpsPackagingElement
/* 11:   */ {
/* 12:   */   protected String myFilePath;
/* 13:   */   
/* 14:   */   public JpsFileCopyPackagingElementBase(String paramString)
/* 15:   */   {
/* 16:31 */     this.myFilePath = paramString;
/* 17:   */   }
/* 18:   */   
/* 19:   */   public void applyChanges(@NotNull Self paramSelf)
/* 20:   */   {
/* 21:36 */     if (paramSelf == null) {
/* 22:36 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/jetbrains/jps/model/artifact/impl/elements/JpsFileCopyPackagingElementBase", "applyChanges" }));
/* 23:   */     }
/* 24:36 */     setFilePath(paramSelf.myFilePath);
/* 25:   */   }
/* 26:   */   
/* 27:   */   public String getFilePath()
/* 28:   */   {
/* 29:40 */     return this.myFilePath;
/* 30:   */   }
/* 31:   */   
/* 32:   */   public void setFilePath(String paramString)
/* 33:   */   {
/* 34:44 */     if (!Comparing.equal(this.myFilePath, paramString))
/* 35:   */     {
/* 36:45 */       this.myFilePath = paramString;
/* 37:46 */       fireElementChanged();
/* 38:   */     }
/* 39:   */   }
/* 40:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.jps.model.artifact.impl.elements.JpsFileCopyPackagingElementBase

 * JD-Core Version:    0.7.0.1

 */